package cn.com.nes.site.module.service.monitor;

import cn.com.nes.site.entity.DataReq;
import cn.com.nes.site.entity.PageData;
import cn.com.nes.site.module.dao.monitor.ParamDaoImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ParamService {

    @Resource
    private ParamDaoImpl impl;

    public PageData addCustomParam(DataReq req) throws Exception {
        return impl.addCustomParam(req);
    }

    public PageData getCustomParams(DataReq req) throws Exception {
        return impl.getCustomParams(req);
    }

    public PageData deleteCustomParams(DataReq req) throws Exception {
        return impl.deleteCustomParams(req);
    }
}
